import util from './util';

let ajax = {}

ajax.getHomePage = (obj) =>{
    util.ajax.get('index.php',{params:obj.data}).then(function (res) {
        obj.success(res);
    }).catch(function (error) {
        obj.error(error);
    });
}


export default ajax;

